#ifndef _IIC_H__
#define _IIC_H__

//unsigned char pucBuf[8]={24,3,18};用来存从存储器读来的值
void I2CStart(void);
void I2CStop(void);
void I2CSendByte(unsigned char byt);
unsigned char I2CReceiveByte(void);
unsigned char I2CWaitAck(void);
void I2CSendAck(unsigned char ackbit);
void EEPROM_Write(unsigned char* pucBuf, unsigned char addr, unsigned char num);
void EEPROM_Read(unsigned char* pucBuf, unsigned char addr, unsigned char num);
unsigned char PCF8591_Adc(void) ;

#endif